<!-- Content Header (Page header) -->
<section class="content-header">
    <h1>菜单/用户管理</h1>
    <ol class="breadcrumb">
        <li><a href="javascript:void(0);"><i class="fa fa-dashboard"></i>
            首页</a></li>
        <li><a href="#">系统管理</a></li>
        <li class="active">菜单/用户管理</li>
    </ol>
</section>


<!-- Main content -->
<section class="content">
    <div class="row">
        <div class="col-xs-12">
            <div class="box box-primary">
                <div class="box-body">
                    <div class="row">
                        <div class="col-sm-3">
                            <div class="dataTables_length">
                                <label>
                                    <select class="form-control input-sm page" style="width:auto;">
                                        <option>10</option>
                                        <option>20</option>
                                        <option>30</option>
                                        <option>30</option>
                                        <option>40</option>
                                    </select>
                                    记录/页
                                </label>
                            </div>
                        </div>
                        <div class="col-sm-9">
                            <div class="dataTables_filter" id="searchDiv">
                                <input type="search" placeholder="请输入手机号" title="手机号" name="phone"
                                       class="form-control">

                                <div class="btn-group" style="margin-bottom:2px;">
                                    <button type="button" class="btn btn-primary" data-btn-type="search">查询</button>
                                </div>
                            </div>
                        </div>
                    </div>


                    <table id="check_table" class="table table-bordered table-striped table-hover" style="margin-bottom:20px;">
                        <thead>
                        <tr>
                            <th name="id" style="display:none;">id</th>
                            <th name="phone" style='text-align: center;'>手机号</th>
                            <th name="createDateTime" style='text-align: center;'>创建时间</th>
                        </tr>
                        </thead>
                        <tbody></tbody>
                    </table>
                    <div class="paging"></div>
                </div>
            </div>
        </div>
        </div>
    </div>
</section>

<script>

    $(function() {
        var table=initTable("/root/user/num","/root/user",
            $(".content #searchDiv"),
            $(".content table"),
            $(".content .page"),
            $(".content .paging"));
    });

</script>
